import React, {Component} from 'react';
import {Route, Switch} from 'react-router-dom';
import AssociationDynamic from './association_dynamic';
import AssociationDynamicDetails from './association_dynamic_details';

export default class Association extends Component {
    render() {
        return (
            <div className="education-set-goverment association-set-dynamic">
                <div className="education-set row">
                    <div className="text-center">
                        <h2>协会动态</h2>
                        <div className="welding-set-gutter-line">
                            <hr/>
                            <span/>
                            <hr/>
                        </div>
                        <h3>ASSOCIATION DYNAMICS</h3></div>
                </div>
                <Switch>
                    <Route path="/association" exact component={AssociationDynamic}/>
                    <Route path="/association/detail" exact component={AssociationDynamicDetails}/>
                </Switch>
            </div>
        );
    }
}

